package com.zyj.reapigateway;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.stereotype.Service;

/**
 * ClassName: ReApiGatewayApplication
 * Package: com.zyj.reapigateway
 * Description:
 *
 * @Author: ZYJ
 * @Create: 2024/3/21 - 23:43
 * @Version: v1.0
 */
@SpringBootApplication(exclude = {
        DataSourceAutoConfiguration.class,
        DataSourceTransactionManagerAutoConfiguration.class,
        HibernateJpaAutoConfiguration.class})
@EnableDubbo
@Service
public class ReApiGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(ReApiGatewayApplication.class, args);
    }

}